﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Global.Encryption;


namespace Global.ExtensionMethods
{
    public static class StringExtensionmethod
    {
        public static string Md5Encypt(this string source)
        {
            var encryptor = new Md5HashEncrypt();
            return encryptor.Encrypt(source);
        }
    }
}
